package com.jm.bishe.service;

import com.jm.bishe.entity.Result;
import com.jm.bishe.entity.User;
import com.jm.bishe.entity.UserRegister;
import com.jm.bishe.entity.UserUpdate;

public interface AdminService {

    public Result login(String adminPhoneNumber,String adminPassWord);

    public Result addUser(UserRegister userRegister,String adminId);

    public Result setVip(String phoneNumber,String adminId);

    public Result updateVipCount(String phoneNumber,String vipCount,String adminId);

    Result queryUserByPhoneNumber(String phoneNumber, String adminId);

    Result queryUserByVip(int isVip,String adminId);

    Result updateUser(UserUpdate userUpdate,String adminId);

    Result queryAllUser(String adminId);
}
